from person import User

class Privileges():
    def __init__(self):
        self.privileges = ["can add post", "can delete post", "can ban user"]
    
    def show_privileges(self):
        print("he is admini. He has the following privileges:")
        for pri in self.privileges:
            print(pri)


class Admini(User):
    def __init__(self, first_name, last_name, hometown):
        super().__init__(first_name, last_name, hometown)
        self.pri = Privileges()

